import Vue from 'vue';
import App from './App';
// 引用uview
import uView from "uview-ui";

Vue.config.productionTip = false
// 全局挂载uView
Vue.use(uView);

App.mpType = 'app'

const app = new Vue({
	...App
})

// 引入请求封装，将app参数传递到配置中
require('./services/request.js')(app)

//API接口
import api from '@/api';
Vue.use(api, app)

//auth.js
import auth from './services/auth.js';
Vue.use(auth, app)
app.$mount()
